From 682e3d98afbda15772523d49a797109029ac0073 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pablo=20Ari=C3=B1o=20Mu=C3=B1oz?= Date: Thu, 20 Feb 2025 20:33:27 +0100 Subject: [PATCH] Added plural forms handling correction to notification message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pablo Ariño Muñoz --- src/gui/tray/usermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/tray/usermodel.cpp b/src/gui/tray/usermodel.cpp index 01260f275..1f0020184 100644 --- a/src/gui/tray/usermodel.cpp +++ b/src/gui/tray/usermodel.cpp @@ -174,7 +174,7 @@ void User::showDesktopNotification(const Activity &activity) void User::showDesktopNotification(const ActivityList &activityList) { - const auto subject = tr("%1 notifications").arg(activityList.count()); + const auto subject = tr("%n notification(s)", "", activityList.count()); const auto notificationId = -static_cast(qHash(subject)); if (!canShowNotification(notificationId)) { -- 2.30.2